package com.xiaot.shopping.product.dao;

import com.xiaot.shopping.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaot.shopping.product.vo.AttrGroupRelationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author xiaoT
 * @email 
 * @date 2021-07-02 22:36:20
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    void deleteRelation(@Param("list") List<AttrGroupRelationVo> attrGroupRelationList);

    void saveAttrGroupRelation(@Param("list") List<AttrGroupRelationVo> list);
}
